package com.dwxt.cdms.entity.oufu;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OuFuDataExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OuFuDataExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andImeiIsNull() {
            addCriterion("imei is null");
            return (Criteria) this;
        }

        public Criteria andImeiIsNotNull() {
            addCriterion("imei is not null");
            return (Criteria) this;
        }

        public Criteria andImeiEqualTo(String value) {
            addCriterion("imei =", value, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiNotEqualTo(String value) {
            addCriterion("imei <>", value, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiGreaterThan(String value) {
            addCriterion("imei >", value, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiGreaterThanOrEqualTo(String value) {
            addCriterion("imei >=", value, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiLessThan(String value) {
            addCriterion("imei <", value, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiLessThanOrEqualTo(String value) {
            addCriterion("imei <=", value, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiLike(String value) {
            addCriterion("imei like", value, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiNotLike(String value) {
            addCriterion("imei not like", value, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiIn(List<String> values) {
            addCriterion("imei in", values, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiNotIn(List<String> values) {
            addCriterion("imei not in", values, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiBetween(String value1, String value2) {
            addCriterion("imei between", value1, value2, "imei");
            return (Criteria) this;
        }

        public Criteria andImeiNotBetween(String value1, String value2) {
            addCriterion("imei not between", value1, value2, "imei");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNull() {
            addCriterion("check_time is null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNotNull() {
            addCriterion("check_time is not null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeEqualTo(Date value) {
            addCriterion("check_time =", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotEqualTo(Date value) {
            addCriterion("check_time <>", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThan(Date value) {
            addCriterion("check_time >", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("check_time >=", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThan(Date value) {
            addCriterion("check_time <", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThanOrEqualTo(Date value) {
            addCriterion("check_time <=", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIn(List<Date> values) {
            addCriterion("check_time in", values, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotIn(List<Date> values) {
            addCriterion("check_time not in", values, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeBetween(Date value1, Date value2) {
            addCriterion("check_time between", value1, value2, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotBetween(Date value1, Date value2) {
            addCriterion("check_time not between", value1, value2, "checkTime");
            return (Criteria) this;
        }

        public Criteria andStepsIsNull() {
            addCriterion("steps is null");
            return (Criteria) this;
        }

        public Criteria andStepsIsNotNull() {
            addCriterion("steps is not null");
            return (Criteria) this;
        }

        public Criteria andStepsEqualTo(Integer value) {
            addCriterion("steps =", value, "steps");
            return (Criteria) this;
        }

        public Criteria andStepsNotEqualTo(Integer value) {
            addCriterion("steps <>", value, "steps");
            return (Criteria) this;
        }

        public Criteria andStepsGreaterThan(Integer value) {
            addCriterion("steps >", value, "steps");
            return (Criteria) this;
        }

        public Criteria andStepsGreaterThanOrEqualTo(Integer value) {
            addCriterion("steps >=", value, "steps");
            return (Criteria) this;
        }

        public Criteria andStepsLessThan(Integer value) {
            addCriterion("steps <", value, "steps");
            return (Criteria) this;
        }

        public Criteria andStepsLessThanOrEqualTo(Integer value) {
            addCriterion("steps <=", value, "steps");
            return (Criteria) this;
        }

        public Criteria andStepsIn(List<Integer> values) {
            addCriterion("steps in", values, "steps");
            return (Criteria) this;
        }

        public Criteria andStepsNotIn(List<Integer> values) {
            addCriterion("steps not in", values, "steps");
            return (Criteria) this;
        }

        public Criteria andStepsBetween(Integer value1, Integer value2) {
            addCriterion("steps between", value1, value2, "steps");
            return (Criteria) this;
        }

        public Criteria andStepsNotBetween(Integer value1, Integer value2) {
            addCriterion("steps not between", value1, value2, "steps");
            return (Criteria) this;
        }

        public Criteria andHeartbeatIsNull() {
            addCriterion("heartbeat is null");
            return (Criteria) this;
        }

        public Criteria andHeartbeatIsNotNull() {
            addCriterion("heartbeat is not null");
            return (Criteria) this;
        }

        public Criteria andHeartbeatEqualTo(Integer value) {
            addCriterion("heartbeat =", value, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andHeartbeatNotEqualTo(Integer value) {
            addCriterion("heartbeat <>", value, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andHeartbeatGreaterThan(Integer value) {
            addCriterion("heartbeat >", value, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andHeartbeatGreaterThanOrEqualTo(Integer value) {
            addCriterion("heartbeat >=", value, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andHeartbeatLessThan(Integer value) {
            addCriterion("heartbeat <", value, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andHeartbeatLessThanOrEqualTo(Integer value) {
            addCriterion("heartbeat <=", value, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andHeartbeatIn(List<Integer> values) {
            addCriterion("heartbeat in", values, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andHeartbeatNotIn(List<Integer> values) {
            addCriterion("heartbeat not in", values, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andHeartbeatBetween(Integer value1, Integer value2) {
            addCriterion("heartbeat between", value1, value2, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andHeartbeatNotBetween(Integer value1, Integer value2) {
            addCriterion("heartbeat not between", value1, value2, "heartbeat");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureIsNull() {
            addCriterion("body_temperature is null");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureIsNotNull() {
            addCriterion("body_temperature is not null");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureEqualTo(String value) {
            addCriterion("body_temperature =", value, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureNotEqualTo(String value) {
            addCriterion("body_temperature <>", value, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureGreaterThan(String value) {
            addCriterion("body_temperature >", value, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureGreaterThanOrEqualTo(String value) {
            addCriterion("body_temperature >=", value, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureLessThan(String value) {
            addCriterion("body_temperature <", value, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureLessThanOrEqualTo(String value) {
            addCriterion("body_temperature <=", value, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureLike(String value) {
            addCriterion("body_temperature like", value, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureNotLike(String value) {
            addCriterion("body_temperature not like", value, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureIn(List<String> values) {
            addCriterion("body_temperature in", values, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureNotIn(List<String> values) {
            addCriterion("body_temperature not in", values, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureBetween(String value1, String value2) {
            addCriterion("body_temperature between", value1, value2, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andBodyTemperatureNotBetween(String value1, String value2) {
            addCriterion("body_temperature not between", value1, value2, "bodyTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureIsNull() {
            addCriterion("wrist_temperature is null");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureIsNotNull() {
            addCriterion("wrist_temperature is not null");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureEqualTo(String value) {
            addCriterion("wrist_temperature =", value, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureNotEqualTo(String value) {
            addCriterion("wrist_temperature <>", value, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureGreaterThan(String value) {
            addCriterion("wrist_temperature >", value, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureGreaterThanOrEqualTo(String value) {
            addCriterion("wrist_temperature >=", value, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureLessThan(String value) {
            addCriterion("wrist_temperature <", value, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureLessThanOrEqualTo(String value) {
            addCriterion("wrist_temperature <=", value, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureLike(String value) {
            addCriterion("wrist_temperature like", value, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureNotLike(String value) {
            addCriterion("wrist_temperature not like", value, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureIn(List<String> values) {
            addCriterion("wrist_temperature in", values, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureNotIn(List<String> values) {
            addCriterion("wrist_temperature not in", values, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureBetween(String value1, String value2) {
            addCriterion("wrist_temperature between", value1, value2, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andWristTemperatureNotBetween(String value1, String value2) {
            addCriterion("wrist_temperature not between", value1, value2, "wristTemperature");
            return (Criteria) this;
        }

        public Criteria andBloodSugarIsNull() {
            addCriterion("blood_sugar is null");
            return (Criteria) this;
        }

        public Criteria andBloodSugarIsNotNull() {
            addCriterion("blood_sugar is not null");
            return (Criteria) this;
        }

        public Criteria andBloodSugarEqualTo(Integer value) {
            addCriterion("blood_sugar =", value, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodSugarNotEqualTo(Integer value) {
            addCriterion("blood_sugar <>", value, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodSugarGreaterThan(Integer value) {
            addCriterion("blood_sugar >", value, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodSugarGreaterThanOrEqualTo(Integer value) {
            addCriterion("blood_sugar >=", value, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodSugarLessThan(Integer value) {
            addCriterion("blood_sugar <", value, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodSugarLessThanOrEqualTo(Integer value) {
            addCriterion("blood_sugar <=", value, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodSugarIn(List<Integer> values) {
            addCriterion("blood_sugar in", values, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodSugarNotIn(List<Integer> values) {
            addCriterion("blood_sugar not in", values, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodSugarBetween(Integer value1, Integer value2) {
            addCriterion("blood_sugar between", value1, value2, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodSugarNotBetween(Integer value1, Integer value2) {
            addCriterion("blood_sugar not between", value1, value2, "bloodSugar");
            return (Criteria) this;
        }

        public Criteria andBloodPressureIsNull() {
            addCriterion("blood_pressure is null");
            return (Criteria) this;
        }

        public Criteria andBloodPressureIsNotNull() {
            addCriterion("blood_pressure is not null");
            return (Criteria) this;
        }

        public Criteria andBloodPressureEqualTo(Integer value) {
            addCriterion("blood_pressure =", value, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andBloodPressureNotEqualTo(Integer value) {
            addCriterion("blood_pressure <>", value, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andBloodPressureGreaterThan(Integer value) {
            addCriterion("blood_pressure >", value, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andBloodPressureGreaterThanOrEqualTo(Integer value) {
            addCriterion("blood_pressure >=", value, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andBloodPressureLessThan(Integer value) {
            addCriterion("blood_pressure <", value, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andBloodPressureLessThanOrEqualTo(Integer value) {
            addCriterion("blood_pressure <=", value, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andBloodPressureIn(List<Integer> values) {
            addCriterion("blood_pressure in", values, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andBloodPressureNotIn(List<Integer> values) {
            addCriterion("blood_pressure not in", values, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andBloodPressureBetween(Integer value1, Integer value2) {
            addCriterion("blood_pressure between", value1, value2, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andBloodPressureNotBetween(Integer value1, Integer value2) {
            addCriterion("blood_pressure not between", value1, value2, "bloodPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicIsNull() {
            addCriterion("diastolic is null");
            return (Criteria) this;
        }

        public Criteria andDiastolicIsNotNull() {
            addCriterion("diastolic is not null");
            return (Criteria) this;
        }

        public Criteria andDiastolicEqualTo(Integer value) {
            addCriterion("diastolic =", value, "diastolic");
            return (Criteria) this;
        }

        public Criteria andDiastolicNotEqualTo(Integer value) {
            addCriterion("diastolic <>", value, "diastolic");
            return (Criteria) this;
        }

        public Criteria andDiastolicGreaterThan(Integer value) {
            addCriterion("diastolic >", value, "diastolic");
            return (Criteria) this;
        }

        public Criteria andDiastolicGreaterThanOrEqualTo(Integer value) {
            addCriterion("diastolic >=", value, "diastolic");
            return (Criteria) this;
        }

        public Criteria andDiastolicLessThan(Integer value) {
            addCriterion("diastolic <", value, "diastolic");
            return (Criteria) this;
        }

        public Criteria andDiastolicLessThanOrEqualTo(Integer value) {
            addCriterion("diastolic <=", value, "diastolic");
            return (Criteria) this;
        }

        public Criteria andDiastolicIn(List<Integer> values) {
            addCriterion("diastolic in", values, "diastolic");
            return (Criteria) this;
        }

        public Criteria andDiastolicNotIn(List<Integer> values) {
            addCriterion("diastolic not in", values, "diastolic");
            return (Criteria) this;
        }

        public Criteria andDiastolicBetween(Integer value1, Integer value2) {
            addCriterion("diastolic between", value1, value2, "diastolic");
            return (Criteria) this;
        }

        public Criteria andDiastolicNotBetween(Integer value1, Integer value2) {
            addCriterion("diastolic not between", value1, value2, "diastolic");
            return (Criteria) this;
        }

        public Criteria andShrinkIsNull() {
            addCriterion("shrink is null");
            return (Criteria) this;
        }

        public Criteria andShrinkIsNotNull() {
            addCriterion("shrink is not null");
            return (Criteria) this;
        }

        public Criteria andShrinkEqualTo(Integer value) {
            addCriterion("shrink =", value, "shrink");
            return (Criteria) this;
        }

        public Criteria andShrinkNotEqualTo(Integer value) {
            addCriterion("shrink <>", value, "shrink");
            return (Criteria) this;
        }

        public Criteria andShrinkGreaterThan(Integer value) {
            addCriterion("shrink >", value, "shrink");
            return (Criteria) this;
        }

        public Criteria andShrinkGreaterThanOrEqualTo(Integer value) {
            addCriterion("shrink >=", value, "shrink");
            return (Criteria) this;
        }

        public Criteria andShrinkLessThan(Integer value) {
            addCriterion("shrink <", value, "shrink");
            return (Criteria) this;
        }

        public Criteria andShrinkLessThanOrEqualTo(Integer value) {
            addCriterion("shrink <=", value, "shrink");
            return (Criteria) this;
        }

        public Criteria andShrinkIn(List<Integer> values) {
            addCriterion("shrink in", values, "shrink");
            return (Criteria) this;
        }

        public Criteria andShrinkNotIn(List<Integer> values) {
            addCriterion("shrink not in", values, "shrink");
            return (Criteria) this;
        }

        public Criteria andShrinkBetween(Integer value1, Integer value2) {
            addCriterion("shrink between", value1, value2, "shrink");
            return (Criteria) this;
        }

        public Criteria andShrinkNotBetween(Integer value1, Integer value2) {
            addCriterion("shrink not between", value1, value2, "shrink");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(String value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(String value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(String value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(String value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(String value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLike(String value) {
            addCriterion("start_time like", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotLike(String value) {
            addCriterion("start_time not like", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<String> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<String> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(String value1, String value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(String value1, String value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(String value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(String value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(String value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(String value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(String value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLike(String value) {
            addCriterion("end_time like", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotLike(String value) {
            addCriterion("end_time not like", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<String> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<String> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(String value1, String value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(String value1, String value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andSleepTypeIsNull() {
            addCriterion("sleep_type is null");
            return (Criteria) this;
        }

        public Criteria andSleepTypeIsNotNull() {
            addCriterion("sleep_type is not null");
            return (Criteria) this;
        }

        public Criteria andSleepTypeEqualTo(Integer value) {
            addCriterion("sleep_type =", value, "sleepType");
            return (Criteria) this;
        }

        public Criteria andSleepTypeNotEqualTo(Integer value) {
            addCriterion("sleep_type <>", value, "sleepType");
            return (Criteria) this;
        }

        public Criteria andSleepTypeGreaterThan(Integer value) {
            addCriterion("sleep_type >", value, "sleepType");
            return (Criteria) this;
        }

        public Criteria andSleepTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("sleep_type >=", value, "sleepType");
            return (Criteria) this;
        }

        public Criteria andSleepTypeLessThan(Integer value) {
            addCriterion("sleep_type <", value, "sleepType");
            return (Criteria) this;
        }

        public Criteria andSleepTypeLessThanOrEqualTo(Integer value) {
            addCriterion("sleep_type <=", value, "sleepType");
            return (Criteria) this;
        }

        public Criteria andSleepTypeIn(List<Integer> values) {
            addCriterion("sleep_type in", values, "sleepType");
            return (Criteria) this;
        }

        public Criteria andSleepTypeNotIn(List<Integer> values) {
            addCriterion("sleep_type not in", values, "sleepType");
            return (Criteria) this;
        }

        public Criteria andSleepTypeBetween(Integer value1, Integer value2) {
            addCriterion("sleep_type between", value1, value2, "sleepType");
            return (Criteria) this;
        }

        public Criteria andSleepTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("sleep_type not between", value1, value2, "sleepType");
            return (Criteria) this;
        }

        public Criteria andMinuteIsNull() {
            addCriterion("minute is null");
            return (Criteria) this;
        }

        public Criteria andMinuteIsNotNull() {
            addCriterion("minute is not null");
            return (Criteria) this;
        }

        public Criteria andMinuteEqualTo(Integer value) {
            addCriterion("minute =", value, "minute");
            return (Criteria) this;
        }

        public Criteria andMinuteNotEqualTo(Integer value) {
            addCriterion("minute <>", value, "minute");
            return (Criteria) this;
        }

        public Criteria andMinuteGreaterThan(Integer value) {
            addCriterion("minute >", value, "minute");
            return (Criteria) this;
        }

        public Criteria andMinuteGreaterThanOrEqualTo(Integer value) {
            addCriterion("minute >=", value, "minute");
            return (Criteria) this;
        }

        public Criteria andMinuteLessThan(Integer value) {
            addCriterion("minute <", value, "minute");
            return (Criteria) this;
        }

        public Criteria andMinuteLessThanOrEqualTo(Integer value) {
            addCriterion("minute <=", value, "minute");
            return (Criteria) this;
        }

        public Criteria andMinuteIn(List<Integer> values) {
            addCriterion("minute in", values, "minute");
            return (Criteria) this;
        }

        public Criteria andMinuteNotIn(List<Integer> values) {
            addCriterion("minute not in", values, "minute");
            return (Criteria) this;
        }

        public Criteria andMinuteBetween(Integer value1, Integer value2) {
            addCriterion("minute between", value1, value2, "minute");
            return (Criteria) this;
        }

        public Criteria andMinuteNotBetween(Integer value1, Integer value2) {
            addCriterion("minute not between", value1, value2, "minute");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(Integer value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(Integer value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(Integer value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(Integer value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(Integer value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<Integer> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<Integer> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(Integer value1, Integer value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andSignalsIsNull() {
            addCriterion("signals is null");
            return (Criteria) this;
        }

        public Criteria andSignalsIsNotNull() {
            addCriterion("signals is not null");
            return (Criteria) this;
        }

        public Criteria andSignalsEqualTo(String value) {
            addCriterion("signals =", value, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsNotEqualTo(String value) {
            addCriterion("signals <>", value, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsGreaterThan(String value) {
            addCriterion("signals >", value, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsGreaterThanOrEqualTo(String value) {
            addCriterion("signals >=", value, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsLessThan(String value) {
            addCriterion("signals <", value, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsLessThanOrEqualTo(String value) {
            addCriterion("signals <=", value, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsLike(String value) {
            addCriterion("signals like", value, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsNotLike(String value) {
            addCriterion("signals not like", value, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsIn(List<String> values) {
            addCriterion("signals in", values, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsNotIn(List<String> values) {
            addCriterion("signals not in", values, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsBetween(String value1, String value2) {
            addCriterion("signals between", value1, value2, "signals");
            return (Criteria) this;
        }

        public Criteria andSignalsNotBetween(String value1, String value2) {
            addCriterion("signals not between", value1, value2, "signals");
            return (Criteria) this;
        }

        public Criteria andBatteryIsNull() {
            addCriterion("battery is null");
            return (Criteria) this;
        }

        public Criteria andBatteryIsNotNull() {
            addCriterion("battery is not null");
            return (Criteria) this;
        }

        public Criteria andBatteryEqualTo(String value) {
            addCriterion("battery =", value, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryNotEqualTo(String value) {
            addCriterion("battery <>", value, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryGreaterThan(String value) {
            addCriterion("battery >", value, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryGreaterThanOrEqualTo(String value) {
            addCriterion("battery >=", value, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryLessThan(String value) {
            addCriterion("battery <", value, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryLessThanOrEqualTo(String value) {
            addCriterion("battery <=", value, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryLike(String value) {
            addCriterion("battery like", value, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryNotLike(String value) {
            addCriterion("battery not like", value, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryIn(List<String> values) {
            addCriterion("battery in", values, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryNotIn(List<String> values) {
            addCriterion("battery not in", values, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryBetween(String value1, String value2) {
            addCriterion("battery between", value1, value2, "battery");
            return (Criteria) this;
        }

        public Criteria andBatteryNotBetween(String value1, String value2) {
            addCriterion("battery not between", value1, value2, "battery");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}